package com.mp3.demo.service.impl;

import com.mp3.demo.entity.User;
import com.mp3.demo.mapper.UserMapper;
import com.mp3.demo.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author hc
 * @since 2018-07-31
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> selectByCustom() {
        return userMapper.selectUserByCustom();
    }
}
